<template>
  <div>
    <h1>属性与事件穿透</h1>
    <Son @click="handleClick" class="creat aaa" title="title" zz="自定义属性" />
  </div>
</template>

<script>
import Son from './Son.vue';

export default {
  name: 'ThroughIndex',
  components: {
    Son
  },
  methods: {
    handleClick() {
      console.log('vue2事件不能穿透，可以被获取');
    }
  }
};
</script>

<style scoped lang="scss"></style>
